<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>test javascript</title>
<script type="text/javascript">
    function callBack(a){
    alert(a);
}
</script>
</head>
<body>
<div>
<button name="email" onclick="ttf.nslog('JS与OC交互','callBack');">点击我然后看xcode的log</button>
<form>
    First name:<br>
    <input type="text" name="f" value="WANG">
        <br>
        Last name:<br>
        <input type="text" name="l" value="JUNJIE">
</form> 
</div>
</body>
</html>
